<!-- Header Area -->
<navbar></navbar>
<div class="row" ng-init="vm.initUntreatedList()">
    <div class="col-md-12 col-md-offset-0 main" style="margin-top:5%">
        <h2 class="sub-header">Merchant State</h2>
            <ul class="nav nav-tabs" role="tablist">
                <li  class="active"><a href="#!/untreated">Untreated</a></li>
                <li><a href="#!/pass" >Pass</a></li>
                <li><a href="#!/refuse">Refuse</a></li>
            </ul>
      
        <!-- Tab panes -->
        <div class="tab-content">
            <!-- 未处理审核 -->
            <div role="tabpanel" class="tab-pane active">
            <div id="untreated-area" class="table-responsive">
                    <table class="table table-striped">
                        <thead>
                            <tr>
                            <th>#</th>
                            <th>Name</th>
                            <th>StoreName</th>
                            <th>Idcard</th>
                            <th>Img</th>
                            <th>Address</th>
                            <th>State</th>
                            <th>SubmitTime</th>
                            </tr>
                        </thead>
                        <tbody ng-controller="amplifierController as avm">
                            <tr ng-repeat="verify in vm.untreatedList track by $index">
                                <td>{{$index+1}}</td>
                                <td>{{verify.name}}</td>
                                <td>{{verify.storeName}}</td>
                                <td ><img ng-click="avm.imgClick($event)" ng-src="{{verify.idcard}}" width="30px"/></td>
                                <td ><img ng-click="avm.imgClick($event)" ng-src="{{verify.img}}" width="30px"/></td>
                                <td>{{verify.address}}</td>
                                <td>{{verify.state | stateFilter}}</td>
                                <td>{{verify.submitTime | date: 'yyyy-MM-dd HH:mm:ss' }}</td>
                            </tr>
                        </tbody>
        
                    </table>
                </div>
        </div>
    </div>
</div>
<amplifier></amplifier>